package com.example.vv.model.search.model;

import com.example.vv.model.search.contract.SearchContract;
import com.example.vv.res.net.API_FACTORY;
import com.example.vv.res.net.BaseResponse;

import io.reactivex.Observable;

public class SearchModel implements SearchContract.Model {

    @Override
    public Observable<BaseResponse> REQUEST_SEARCH(String api, String values) {
        return API_FACTORY.POST_API_SEARCH(api, values);
    }

    @Override
    public Observable<BaseResponse> REQUEST_Hot(String api) {
        return API_FACTORY.POST_API_HOT(api);
    }


}
